package com.dousb.cloudlibrary.model.dto.announcement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 更新公告表请求
 */
@Data
public class AnnouncementUpdateRequest implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 公告ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 公告标题
     */
    private String title;
    /**
     * 公告内容
     */
    private String content;
    /**
     * 是否有效
     */
    private Integer isActive;
}